Improve compatibility of EDCM models with odd input data and old Excel versions.