Removed redundant condition.