I've noticed that when you upload a task recording and convert it to C# code, there is an automatically generated method in that code called TestSetup() that explicitly defines a few things, one of those being a hard coded set to the company USMF, even though the task recording was not taken in that company.
Client.Company = WellKnownCompanyID.USMF.ToString();
When I changed that value to the company I was actually looking to use, this issue went away.