Fixed compile errors with getAllSensorsReduced()