Fix multiple ranking saving bug.