Fixed problem where if primary sync is turned off, cbrank command fails.
Merge branch 'fix_cbrank_error_with_sync_off' into development.