Fixed an assertion