Prevent amounts for transactions from being created if the amounts are zero