Fixed crashing of server on syntax errors in flows and pages