diff --git a/Dfe.Academies.Academisation.Data/Repositories/ConversionProjectRepository.cs b/Dfe.Academies.Academisation.Data/Repositories/ConversionProjectRepository.cs index 32b2e4925..6b5953467 100644 --- a/Dfe.Academies.Academisation.Data/Repositories/ConversionProjectRepository.cs +++ b/Dfe.Academies.Academisation.Data/Repositories/ConversionProjectRepository.cs @@ -98,7 +98,7 @@ private static IQueryable FilterGroupedProjects(IQueryable que string.IsNullOrEmpty(p.Details.SchoolPhase) || string.IsNullOrEmpty(p.Details.SchoolType) || // we need projects that have a trust associated that aren't form a mat that require a trust ukprn - (p.Details.TrustUkprn == null && p.Details.IsFormAMat == null && p.Details.TrustReferenceNumber != null) + (p.Details.TrustUkprn == null && p.Details.IsFormAMat == false && p.Details.TrustReferenceNumber != null) && p.DeletedAt == null) .ToListAsync();