Query fixes and tweaks.
Fixing lat/long ordering.
Fixing lat/long