ContentCollectionImplementation: fixes potential error with division by 0