Fix a long-standing bug where appservices using MSC2409 to receive to_device messages, would only get messages for one user.