Remove double negative conditions