session::get() now tries to fix any broken objects it's about to return