Fixed level counter and attempts counter bug.