When you first open the map and there are no conditions, "WHERE " is blank and it wouldn't work.  I used a query that would always be true, so I did STI > -1