Fixing non-saving index bug
Merge pull request #3 from rampage644/master

Fixing non-saving index bug