When using top 30 on a server with little usage where everyone has gained no XP in this time frame, seemingly random users are in the leaderboard.
Proposition:
In case of a tie for XP gained in this time frame, choose the user with the higher total XP.