peripheral.name uses the GAP name. This can get out of sync from the device name assigned within the MapTheThings Arduino code. The intended node name is in the kCBAdvDataLocalName key of the advertised data, if available.
We saw a case where after DFU firmware update, the GAP name of a node was cached on a phone as "DfuTarg". The correct name was broadcast as kCBAdvDataLocalName, but was not used by app.