Removing repeated OR condition