Schelte,
great catch. May I motivate you to work on a patch?
Even if you refuse to write C code, it may be a start ;-)

Or what about a branch with a test case?

Thanks for all,
Harald