Bash plugin: take one of the best results, not the worst ones