Fix wrong assertion.