Fix bug if no subject in categorization for schemaextender