Avoid flush by category selector

This fixes https://github.com/Guite/MostGenerator/issues/464