The feature implementend in https://issues.alfresco.com/jira/browse/MNT-9081 does not care about secondary parents.
If a document D has a folder F1 in Site S1 as the primary parent and it has folder F2 in Site S2 as a secondary parent, it is desirable for Share not redirecting the user to F1 when D is viewed in the context of F2. In this case, both F1 and F2 are "correct" places for D.
The logic implemented in
MNT-9081 should be extended to distinguish between D being moved and it being displayed in the context of a secondary parent.