[Spec Metadata] Fix issue with string to SemVer comparison

This results in the latest version not being included