Capitalization fix in search model