Fix daily rotation bug