Copy/paste of chords and rests

I have one doubt left: does the removal of lines 405-408 of paste.cpp have any side effects on other paste operations?
If these are left in place, only one chord can be put in the last measure, while some situations, like the one described in issue #28506 require it to be split into a set of (tied) chords.