Fix friends filtering logic

- Use guid instead of email