Fix handling of incomplete completions.

See #272.

`find_matches` is being handed `needles` which (potentially) contain trailing separators.  So no matches are found.

Strip such trailing separators (`clean_needles`) before looking for a match.