BUGFIX: at some points the parameter 'feature' contained a GStringImpl type, this resulted in a problem when comparing to a set of Strings. Explicitly making a String type of it resolved this problem.