Remove unnecessary condition