fix a bug that would result in using the wrong name for categorisation in the process_uncategorised script