Make the search type filter case insensitive

Searching for type:Book should work the same as searching for type:book.

Fixes #162

Effort points: 1