The real fix for the default AD backend switching to RID.

Ticket: #6531