Better filtering for hierarchical models