fixes #194 Incorrect parse result when a variable precedes a skipped variable.
fixes #195 foreach element outputs open and close values even when the passed collection is empty.