Added default nfeatures if the XML file is so oldl that this field is absent.