Trying to fix #33326
So, first pull request! After a bit of struggling I think I found the bug and fixed it. I tested (hopefully) every possible case and it seems to work now.
So, first pull request! After a bit of struggling I think I found the bug and fixed it. I tested (hopefully) every possible case and it seems to work now.