reverting changes implemented in f536f27d
warnings can cause performance issue if a feature type does not exist in the database queried