Group results by names to give better results

This is actually a better balance between duplicate names and potentially
collapsing "old" names into the same facility ID when grouping by facility ID.