Added support for new index pattern.