fix for permit index: deleted projects.