fix bug that didn't exclude edges deleted in memory from edge searches