Fixed bug in ORF detection.

Fixes #239