Fixed project delete and foreign key issues when deleting professors who were PIs