Stabilise search results when scores are equal.

- fixes #60