Fix issue 2005 replayq crash