blockmodel: fix nested sampling of filtered graphs

This fixes issue #322
6 jobs for master in 4416 minutes and 31 seconds (queued for 3 seconds)