Remove PIs that are no longer generated