Fix: prevent minimizer from messing up index settings code.
Merge pull request #315 from giorgian/fix-settings

Fix: prevent minimizer from messing up index settings code.
Merge branch 'up-master' into gh-master