Fixed StatefulReader when removing from inside history