Adding range template filter