calc: Fix factorial of 1 is 1