corrected computeNextRelevantFeatures function, it now takes both opt node features and features from renamed identifiers into account