JAL-3076 refactor for more efficient scan of 'gene' features