Added query offsets