chunk: fixed replay_iterator meta's end checking