Switch to side-by-side view

--- a/Allura/allura/model/monq_model.py
+++ b/Allura/allura/model/monq_model.py
@@ -233,7 +233,7 @@
             raise
         finally:
             self.time_stop = datetime.utcnow()
-            session(self).flush(self)
+            main_orm_session.flush(self)
             if restore_context:
                 c.project = old_cproject
                 c.app = old_capp