changing index type if a non-string value is added
Merge pull request #23 from brunobord/types-indexes

changing index type if a non-string value is added