BUG: Check the first element of "others.values" rather than "others".

Closes #7857