Disallow self maps in edge counting