Remove unnecessary negative if statement