Fixed to case-insensitive search.

The search don't work properly with different case characters in the words.