added null pointer exception recognition to support kestrel (and other custom) schemes
fixed these queries to use nested numeric-greater-than and geo-haversine-distance as opposed to geo-in-haversine-distance