AbstractDynamicContentCheck: prevent attributes from being considered safe if their tag does not actually filter them