added filter control, which adds lookup constraint to query.