Remove duplicated condition