[CTDA-110] change query lookup when using family name, middle name and/or given_name