LPS-40533 - Adding transaction advice to Staging

Hey Mate,

Here's a fix for some transaction issues in staging. There's an associated fix (LPS-40550 on the ticket) that should be in master already. Rolling back the staging transaction without it will break the portal.