Fixed regression bug #34860 by assuming inputControls default value to array() instead of null