Fix neighbour list parsing