Should all the GND pins of the JTAG be connected to GND?
They would have written NC if you only had to connect one.
The purpose of these grounds is to interleave signal wires with ground wires in the ribbon cable so no signal wire neighbors another signal wire.
This reduces crosstalk.