Fix large-reorg height and b4? duplicate hash issue