Fix Issue #1087

This fixes the getFeature issue explained in #1087