Fixed indexing
Fixed duplicate apply-stylesheet directives generated by GlobalParamters.xslt