shortens index names longer than 50 characters
Merge pull request #298 from kevinburleigh75/shorten_index_names

Shortens index names longer than 50 characters