Fix an issue in populateGraph() that could cause an
IndexOutOfBoundsException

It's possible that one node in the cluster collected more JVMMonitor
items than another node. In this case, the extra items are ignored.