creating filter criterion for filtered collection and corrected template prior to converting bird data