Fixed a bug where the wrong session was passed through to the callback of Model.prepare.
Fixed a bug where the wrong session was passed through to the callback of Model.prepare.

jbeard4/SCION,jbeard4/SCION,jbeard4/SCION