Fix for amounts and negatives in database