Fixed exceptions in SyncCommand and SynchronizationController.
Merge branch 'develop' of github.com:/structr/structr into develop