Fixed error with deleting projects.