Fixes the deleted project problem