Fixed issue where it will thrown an error if the category name cannot be found in the sync table.