@Etienne Miret, thank you very much. I tested your patch with my test cases and it works fine.
Is there any chance to get it fixed in the next bugfixing version?