Adding network ID clause for communities