XX-10647 - subscription db wasnt always writing to local db when there was supposed to be a local db