Explicitly check size of tx hash vector in historical fix