Here is my FineFilter function:

def FineFilter(self, fine):
        if self.Time.month == self.lastMonth:
            return self.symbols
        self.lastMonth = self.Time.month
        for x in fine:
            self.Debug(str(x.ValuationRatios.ForwardPERatio))
        fine = [x for x in fine if x.ValuationRatios.ForwardPERatio > 0]
        fine = sorted(fine, key=lambda x: x.ValuationRatios.ForwardPERatio, reverse=False)
        self.symbols = [x.Symbol for x in fine[:50]]
        return self.symbols

When I debug, all of the ForwardPERatio is always 0. What am I doing wrong?