If you are level 19 and get enough XP to level up, it says "level up!" and puts your XP back to 0, but you stay at level 19. Shouldn't it just stay at level 19 and have your XP bar full? PS But then when I go back to the Keep, it says level 20. Weird.
There are some other issues with leveling. For example, sometimes leveling up "ding" the HP counter but the value displayed isn't increased until you go back to the keep. Same problems might happen with tokens sometimes but I'm not absolutely sure about that.