Fixed crash when ohNet removes a device that has not been previously
added.