Incorrect duplicate points/cells when generating ghost arrays from data sets

Change-Id: I6c8cdadd4761147ba2fb4ad7296b34d831b14dc4