Changed gps query to allow null result.