Added support for db-agnostic case-insensitive searching