Fixed bug where refreshObject does not remove from database parameters that don't exist anymore in the device data model.