Search should not blow up when query parameter is missing