Fix bugs introduduced by the improved HiSeq runfolder scanning.