Added dynamic filter directive