SERVER-8569: correctly compare version