Fixes #59 by making sure the EDGEs index is no more used