fixed bug when theres more than one tez vertex with no logical operators