Bug correction in account ranking comparator.