Fix bug version_type (refs #15)