Ensure first handles negative numbers gracefully.