Validator raises an error if the validated column is not a flags column.