Fixed bug with variable names with the same stem, e.g. DM and DM_COMP matched the same rows for DM