Fix bug: Unable to edit metadata if classifier is not empty