Indexing and searching weren't being converted to lowercase, as they should.