I know you didn't write this function, but there is no test coverage on it, and since we are changing its behavior it would be a good time to add a test to make sure it works correctly.