Fixed wrong assertion.