Fix `add-vertices'` for directed unweighted graphs

Was doing some irrelevant stuff.