Hi Rita,
I think there are some problems there.
The first part of your filter where you put Var1 = True would be some way to bypass the filter for example if the string from Candidate vars are empty?
Maybe tou should try to put these rules in different filter inside your aggregate.
For example:
1 -
Candidate.Email = "" or Candidates.Email like '%'+Candidate.Email+'%'
2 -
Candidate.Phone = "" or Candidates.Phone like '%'+Candidate.Phone+'%'