fix: implements insurance date_end for billing (#6533)