fixed mixed variable assignment in where function when where restrictions was an array