Fix for case insensitive completion in company mode.

Finally tracked it down!