I can confirm that your patch fixes the problem. Thanks for your quick help!

Chris