Corrected persistence of DB versions and parameters in case app uses
more than one sync storage.