Fixes rails/activerecord-session_store#6