Getting properly the run number and adding a protection in case of run number inconsi...