Fix choosing best map with multiple candidates
Fix indentation