Catch divide by 0 when there are no accepts