fixed close statements of liquid template filters 'for' and 'if'..