Bug fixes

Improved exception handling when posting to /facts
Improved performance when generating updated node list