Check for double instead of string in the metric getMaxHoldings