fix bug that causes a slice with no nodes to have an in incorrect rspec