Replace empty values of a IN() sql selector by -1 to prevent errors