fix-#733: index_cls is ignored when deciding to set _cls as index prefix
Merge pull request #738 from DavidBord/fix-733

fix-#733: index_cls is ignored when deciding to set _cls as index prefix