Fixed a script error when adding a feature.