tweaking bug fix for #222 for multiple Smart_index_patterns
Merge pull request #237 from michaelgibson/kibana-ruby

tweaking bug fix for #222 for multiple Smart_index_patterns