Fixed negative numbers not being allowed.