Bug fixes on assembly pipeline

Corrected two bugs causing errors when using single-reads only.