Fix categoryMetaData not always updating correctly