fixing bug per github issues thread

https://github.com/rails/activerecord-session_store/issues/6

see jiminaus comment