fixed an error that could occur when deleting a project that have issue-labels