Failing unittest demonstrating issue #481
Fix picking the best match in a QueryTable (#481)

By using an Iterable rather than a PriorityQueue. Iterating over a
PriorityQueue is (surprisingly) not ordered.