Fix some bugs with ListStack::add()