Issue #20: Fixing nasty bug where xml closures were being called multiple times during evaluation