*8246* Prevent user from being merged in itself

Pull request for: http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=8246