Merge pull request #33 from vbortone/hotfix/1.7.0.1

Correct options.history assignment when options.enabledHistory used.