Fixed a bug in Categorizer._core_algorithm that was pushing cat4 tags back to cat1.