Check the rear rider at the landing
From a permitted stationary position, rehearse with consenting performers at different step intervals. Ask them to face the natural direction of conversation. Record where the handrail or foreground rider first covers the rear face.
Check the original movement
Check the beginning, the middle and the landing. The face you plan to replace needs a usable view while that person is still recognizable as the rear rider.
Example blocking note
An upstairs arrival can be covered by the actor looking toward a waiting friend once clear of the moving steps. The identifiable frame can come after the ride if the travel shot is congested.
If the roles remain ambiguous
If you cannot maintain that view safely, film arrivals and reactions at the landings. Never walk backward on the escalator or obstruct other riders to rescue the framing.