Fixed NPE in DynamicFeatureQuery#buildElement(...)