Add maximum distance support

- Can specify a maximum distance when doing comparisons
- If nothing is found within the maximum distance the query results an
empty collection