Fix syntax error due to styling fixes in node/orders.py
Add checks for syntax errors