Fix unnecessary reloading of session data

See https://forums.zotero.org/discussion/30740?page=1#Item_16