Added an extra check to verify a correct version identifier.