Fixed a bug in extend-orf