Restored GROUP BY function to host_details view.