This does not affect 5.x anymore. I'll commit the test that replicates it on master. I'll leave the PR if it must be integrated on 4.x branches.