Fix to param passing to onSearchSubmit callback