Changed query to use geography instead of geometry