Use template files instead of inline tags
Try filter on collection