I often run dust and scratches as a smart filter and fill the mask with black and just bring it back where needed. Since updating to 2019, if I save a file, then re-open it, or batch process flat files, the filter is applied to the whole image, rather than just what it is masked to. I have to turn the mask off, then back on for it to apply. I had to re-open 160 images and render the smart object layer to fix them.