dev-466: simplified chain filtering