Add range template filter