Fix server version detection