Update rankers.py

Fix bug with frequency ordering for the extraction of the most frequent candidate of each cluster.