Fix crashing bug caused by orphan(s) with duplicate prevout.hash