Fix some DB errors I am responsible for.

Grr, I was going to script these but found was already scripted, but I left the ids in the line to set ai name in the commit I did make

Closes #12912
Core/Dependencies: Update G3D to v9.0 r4036