organization_item.html shows package list instead of count

If an organization has more than 0 datasets then organization_item.html shows the list of packages (as an unformatted json list) instead of the count