Your parameters for the particle filter are reversed. If you swap the 0 and 2, everything works fine.
One interesting observation is that the upper limit is not included, so these settings only eliminate single pixel particles. To eliminate 2 pixel particles, you need the upper limit to be 3 (or it could be 2.5, etc.).
Bruce
Bruce Ammons
Ammons Engineering