Make SessionStore work on old+new version