Proper version comparison