Issue7244

Here is a test that fails because of the issue and a fix.