Add in tests to capture this bug in future.