- Ensure createAndSetDevices.js always uses an array for measurements - Prevents crashes if measurement data is empty