Bugfix: always do conflict backup issue

change sync order, do upload first to make sure get lastest max version
number, only if document server version is bigger than local max version
means conflict found.