FYI I commented with a suggestion on the PAM filter.
Thanks, but I somewhat doubt the condition you proposed is feasible to implement. (Dropping conditions may help, actually…)