Added df setting to select handler for subqueries in boost functions