Fix bug with push_back() that was preventing the next links on each node from being set correctly