fixed sync_plans command bug I introduced
Merge branch 'backend'