Fix an issue where failed replays are not properly handled.