This condition should be followed by an `else if (!existingOptions.isEmpty())` block.