Fixed for autorank

everything should be working now