Fix error. Surprised it was not caught by tests.