enhance error message when change/added attributes mismatch (refs #8481)