Fix for transcript_assembly running when it is not enabled.

Thanks to @mdeboth for posting about the issue.