Fixed issue when segment is provided as array