Allow param "query" when "query-math" not present.

The old MWS interface uses "query" as query parameter for the Math
query, hence it makes sense if there is no "query-math" parameter
to fallback to "query".