Fix bug in displaying comments and counts