Fix version spec comparison