Add explicit case for nested with_all query.