Removed redundant assertion check