Fix array of inspect on InvalidModeString exception

The % operator is expecting two values, but the .inspect around the array is creating one.