Check for null in geo query.
Check for null in geo query.

If we get a null result, don't deference it.
Fix a typo (s400 should be 400).
Remove a couple of unnecessary semicolons after if/for statements.

LocalData/localdata-api,LocalData/localdata-api,LocalData/localdata-api