In XPresso you should pay attention to the order of the nodes in the X-Manager. The nodes should be arranged in the order in which they where calcultated.
In your scene it looks looks like this:
If the python nodes is moved to the end of the list...
...everything works as expected.
Cheers
Peter