Revised the geocache hit query to fix performance issue.