Fix detection of fatal invalid blockhash, differentiate from other non-fatal errors