Fix replay version detection