Fixed leaking context in xsl:for-each