Fixed swapped nodes/links