I stumbled onto this problem while working on building a test case for HHH-11508 Open . PR added and ready for review.