change edge retriever to function correctly when self-edges are present