Adding conditions for vl queries