Made slightly more robust to genes where no exons are defined (e.g. tRNA)