Issue #2861 was fixed without tests.