Imagine you have 4 people (A, B, C, D). To reproduce:
1) User B creates a profile post on User A's profile
2) User C comments on User B's profile post tagging User D
3) User D gets an alert saying User B tagged them in a comment on User A's profile. User B created the profile post, not the comment. The alert should say User C tagged them.
Example:
1) User B creates a profile post on User A's profile
2) User C comments on User B's profile post tagging User D
3) User D gets an alert saying User B tagged them in a comment on User A's profile. User B created the profile post, not the comment. The alert should say User C tagged them.
Example: