The first form doesn't work; the second form does indeed produce the right query. Using that