Category mapping now removes duplicates automatically

So that an item cannot be mapped multiple times to a single category
and thus make the item count display incorrect / non matching.