Make api version comparison more relaxed