[sr-dev] git:4.0: presence: Iterate correctly around presence updates