Fixed an assertion.