Fixed bug that causes incorrect xp to next level calculation