Thanks for the bug report. We should make sure this case also happens in the tests and is properly handled. (I have not checked it does, just saying.)