remove duplicated conditions before adding them