The searches are case insensitive. You could make them insensitive by using the .downcase method on both sides of the comparison operator