Missing right parenthesis when searching with case insensitive