Support queries with only slice