Fixed bug in topology generation where it could decide it needed zero comm nodes.