Fix NaN error on first achievement