Added support to only save the rank under special conditions

The rank will only be saved when the rank isn't the same
rank that specific thread has seen that day.