Bugfix on amount.
If there was no amount there was no possibility to change the item
because the function tried to write to DB empty value as decimal number.