Fix a warning produced when second parameter for in_array check was actu...

...ally a string instead of array. This check is needed to determine if a checkbox in a set of values for multiple checkboxes is selected but only one or no values were set, resulting options_checked variable being a string instead of an array. Cast to array before doing the check