How to reproduce:
1. Create a subwiki
2. Create 2 global users (A and B)
3. Go to the subwiki`s homepage, logged in as user A, and send a direct message to user B using the activity stream
4. Log in as user B and go to your profile page. The message from user A is not there
5. Go to the subwiki`s homepage and see that the message from user A is there instead.