Fixed coordinate inclusion in query method

The query shouldn't check wether the latitude is -1 or not (latitudes can be negative).