Moved latest run numbers out of if