Fixed issues with feature array not getting correctly resolved to the
desired index.
Fixes issue #232