A fix has been applied in the development environment.
A big thank you for a well detailed bug report, made it quite easy to solve the issue itself.
PS! I have promoted you (Jakuje) to Moderator. You should now be able to edit answers and convert them into comments (and some other things). Right now it's only you and Pinkunicorn with that access level.