Project deletion bug fix