Fix bug with VALUES and set operations