Fix get_fasta

The exact and reverse options did not work for all variations of
options.