adding better control for edge type hierarchy filtering