Fixed DeleteProject and DeleteResource - constraint violations again,
now handled recursively.