Fixed a bug in adding entries from same-direction matches to the coarse FASTA file