Correct the query for getting unvisited messages; the query was mixing up
the visit from the creating user with the requested user.