`collection_check_boxes` respects `:index` option for the hidden filed name.

closes #14147
Merge pull request #14736 from nashby/hidden-index

`collection_check_boxes` respects `:index` option for the hidden filed name