Fixed Array to string conversion notice on line 327 of FilteredBehavior

Using multiple select field caused a notice "Array to string conversion"
on line 327 of FilteredBehavior. Added check to ensure that the
parameter is a string before calling strlen.