Support ORs inside sub queries