Fix bug when using "for" snippet typing "j"