Adding case insensitive logic.