NCI-Agency/anet#559: Fix insights searchQuery when the advanced search is collapsed
NCI-Agency/anet#559: Fix insights searchQuery when the advanced search is collapsed

The insights searchQuery was not correct when the advanced search was
collapsed: the toQuery method was missing and therefore the date filter
params were not working.

NCI-Agency/anet,NCI-Agency/anet,NCI-Agency/anet,NCI-Agency/anet,NCI-Agency/anet