Usage for 'foreach' snippet was fixed