Fix broken "stale block" reference and ordering
Merge pull request #1 from bitcoin/staleblockref

Fix broken "stale block" reference and ordering