I think that setting up one or more hardware keys for Login with Passkey (with encryption enabled) would have helped you in this situation, because (to my knowledge) the authentication and decryption processes that occur during Login with Passkey are independent of those that occur during Login with Master Password. Thus, even if the Master Password Hash becomes corrupted, you should still be able to log in using the hardware key.