Format-neutral compare numbers in MMS group with local device.

Closes #1018