Fixed Notice when using multiple select

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.