Added some validation for unit field in ExpenseDetail.