"dscacheutil -q group -a name admin" returns a user that I can't find
After trying a bunch of different things I had the idea to create a new admin user account called Temp10 manually. And then delete that account. That seems to have resolved the problem. There must have been some remnant of the account left over from something that didn't clean up after it got deleted.