Bugfix for crash when deleting a project's only count.