Added min and max number to amount factory.