Reintroduction of the feature stack check required by function "top"