#797024 by pwolanin, justinrandell: Fixed Moving a class between files can cause SQL errors on registry rebuild.