Revert "PIM3191: rename filter to state"

This reverts commit 80ed6d8029476cbb84544ea307eac0481e196d0d.