only support dependent relationships in aggregators. fixes bug in queries.