Support sorting not indexed entries

Without this change, --sortby geo_distance(...) drops not indexed
entries.