Post-review fix - avoid re-evaluation of the having clause when it evaluates to true.
Attach a file by drag & drop or click to upload