Make search_params_key empty hash when it's nil.