Added support for lookup request with subquery works