Save last submitted search query separately.

This new value is what we sent to the server for the q* fields.

Fixes #21