(BugId:99348) - Fix empty category check in onEditPageImportFormData.