Remove total_seconds usage on timedelta