always compare by name when deduping in print_results

Fixes GHI#85.