Added a small improvement regarding setting "old" devices to a 'Decommissioned' state.