fix a bug in session::rollback in nested tx