Support for multiple index patterns, closes #22