Fixed an issue with displaying results when there is only one group