[telegram] Silly loop bounds issue