Fixed an issue where the new submission for was broken

It was attempting to create a field for a non-existent field in
the code model