issue #21831: Disable problematic trigger while clearing orms.
Merge pull request #973 from jrogelstad/21831

issue #21831: Disable problematic trigger while clearing orms.