Fixed negative number handling