The quantity should ALWAYS be the quantity of the item's most current log.
However, if the user adds a log that's before today's date, the quantity gets changed to that log's quantity, and breaking our rule of making the quantity the item's most recent log's quantity.