Map old advanced search params to new ones.

Closes #322