For the Ipad version, if the user has selected layers from a group but not the whole group and layers from another group, there should be a warning that they may have a layer selected they didn’t realize. Happened to me twice already in a recent work that was getting kinda big, caught it both times but i can see this being easy to miss under the right circumstances.
Really this kind of merging doesnt make sense since its behaviour isn't intuitive.