Fix of Firefox's IndexSizeError
closes #41174963
Merge pull request #70 from Animatron/firefox_indexsize_bug

Fix of Firefox's IndexSizeError