Made search case insensitive unless it contains an uppercase letter.