Applied pull request #112
https://api.github.com/repos/zefhemel/persistencejs/pulls/112