More debugging of how it builds search queries.