make sure we never have duplicates in the ranking table