fix for invalid session entries being added if refresh-on-read is true
version 0.3.1