Removes outdated assert (Issue #2086)