Fix in operator inside a relation query