Allow empty version, convert "unspecified" versions to NULL