Fixes #4049 Thanks for the report!