Fix incorrect assertion.