Case-insensitive search except when search includes uppercase characters