IncludeRids parameter added to do_query (url mode)