[fix bug 831272] Fixed inviter becomes mentor.
Merge pull request #336 from akatsoulas/831272

[fix bug 831272] Fixed inviter becomes mentor.