Prefer case-sensitive matches for fully qualified names in direct search.

This makes it even better than on master.