fix when collect_heuristics returns only one heuristic
fix when collect_heuristics returns only one heuristic

Mapotempo/optimizer-api,Mapotempo/optimizer-api,Mapotempo/optimizer-api,Mapotempo/optimizer-api