fixed migration bug https://github.com/globaleaks/GlobaLeaks/issues/342