Parse certificate version correctly.