Moved MetaLib category data cleanup to PHP code.