Fixed cheatsheet for loop (bug #2701)