validate terminated_at date