Removed redundant check.