PLOD fix and PLOD picking

Use a range based for loop and increment the node_counter in the loop block