Fix bug when received date is empty, e.g. when using a repair line item to record a shipping price.