Fix quark block hashing