`addon.content_ratings.order_by('-modified')[0].modified` is performed above too. Could you put a `last_rated_time` method on the `ContentRatingsManager` (if there is one, and I'm actually inquiring here, I'm not sure if that scopes properly) and rewrite this to `addon.content_ratings.last_rated_time if addon.is_rated() else None`.