[COOK-1863] Streamline version checking logic per @sersut's comments.