Correctly convert to ids when updating rank