Use strict checking for in_array()
Otherwise casting of values can cause issues generating where clauses