Fix the bug that broke assignment creation.
Assignment creation was broken due to the metrics-editor ref not being defined when creating a basic assignment, or not being on the actual tab where metrics could be edited.
Assignment creation was broken due to the metrics-editor ref not being defined when creating a basic assignment, or not being on the actual tab where metrics could be edited.