Fixed an ability exception when leveling to high levels