Add a post-check that print duplicated genres

Genres should be present only once in the tree. Added `check_genres_occ` func help debug that.