Based on #1242, I don't think this is required but it does remove that issue and checking on compiler explore it does simplify the generated code. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>