TRUNK-3644 Strip off qualifier when comparing versions