Fixes exception thrown when comparing against RC version
The comparision method had a bug where it thew an error when comparing an RC version to a non-rc version in one of the comparison directions.
ex: '1.2.3-rc1' > '1.2.2'
The comparision method had a bug where it thew an error when comparing an RC version to a non-rc version in one of the comparison directions.
ex: '1.2.3-rc1' > '1.2.2'