Fixes parameter assignment when using an array for needed validation types.