Fix warning messages on wrong type input
Fix warning messages on wrong type input

Fix 'expected type' warning messages in case input variable has
unexpected type (array is given instead of string value or string
instead of array).

Cotonti/Cotonti,Roffun/Cotonti,Cotonti/valencia,Cotonti/valencia,Roffun/Cotonti,Cotonti/Cotonti,Roffun/Cotonti,Cotonti/Cotonti,Cotonti/valencia