Prot Paladin constantly set as Ret unless main tanking

My Prot paladin shows up as a tank in the logs only when he is main tanking a boss. If I just “Off tank” then he is shown as DPS and its really messing with the ranking since Prot does way less damage. any reasoning behind this or a way to fix it?