Fixed bugged assertion.