Fix bug when attempting to skip variables on a single node.