Fix wrong logic in findDoer for a metric.