Fix for kmeans KMeansMetricPathVariableMethodArgumentResolver