Fix calculation of billable field when saving bugs