Fixes https://github.com/paritytech/polkadot-sdk/issues/7400
mentioned in commit 9b1c299d
mentioned in commit 2795848b
mentioned in commit 38f34fd7