Only set TD if it's actually higher