Fix getConnectionAreas if ports get deleted.