fixes #5737 - corrected multiple index controllers
Merge pull request #4124 from thomasmckay/5737-index

fixes #5737 - corrected multiple index controllers