fix infinite loop
fix infinite loop

jts/nanopolish,mateidavid/nanopolish,jts/nanopolish,mateidavid/nanopolish,jts/nanopolish,mateidavid/nanopolish,mateidavid/nanopolish,mateidavid/nanopolish,jts/nanopolish,jts/nanopolish