Removed wrong assertion check.