Fixed ObjectId creation for new form objects