Replace 'has' search filter for lists with 'any' and 'all'

Change-Id: Ie2b57312d11aec63a2e8aa3d481ba1db97316a28