Block-corrected modularity for community detection | Synapse