Remove duplicate condition in “or” clause