Fix user level calculation.