Fix negative number handling (use absolute value)

You were continuing to use the negative value, which screwed up checks like "number < 10" and the array lookup.