Fix for each component create vertex not for each predicate