the dict (as opposed to `null`) makes it come back in the right order (the exact match comes before the type match). so you can just do `limit=1` in the query