added filtering to template data preperation

added filtering to template data preperation to better prepare
breadcrumb data