Valid edges at index==0 handled properly (iss #2)