Made a safe rollback for transactions. InvalidOperationException was being throwned by the rollback when a trigger aborts the transaction.