Added support for case-insensitive searching.