Created attachment 5163 patch
The fix for this bug has just been merged to git master and will be part of the next release.