Fixed preparation of refined communities.
Merge pull request #4 from itsvisher/fix_refined_community

Fixed preparation of refined communities.