Fixed last row replication bug, downloading results tsv almost working: