Merge "Fix IndexOutOfBoundsException in AvalancheController.getDurationMs" into main