(cherry picked from commit a18c3774661f466727ab46315211aecb43ef1def)
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com> (cherry picked from commit 4ef2174226a0210f756f180dded8567d659589e2)