Fixes to FASTA code to properly handle indices.
Merge pull request #241 from fnothaft/fasta-long

Fixes to FASTA code to properly handle indices.