Changed the data model to allow for nils. Ranking system works for all types now