Make first edge perform 'type' checks to find first edge of type