modified how analysis are triggered based on the consistency between local and charon db

Now the logic of starting at flowcell level is much easier to get