Fix duplicated category

I found this bug few days ago.
Some repository consumes too much disk spaces because ns2:category is duplicated when it's crawled.
So I fixed this bug with `__merge_entities__`