Fix extra select in find function