Fix test (variable is a checkbox, not an array/string). Fixes #3662