Fixed project deletion bug