Correctly identify primary geo_id

Looks like `||` has a tighter binding than ternary if, which is weird.
Merge pull request #36 from longhotsummer/patch-2

Correctly identify primary geo_id in comparison.js