Corrected bug in processing simple vertices.