Cast scalars in string filter

I honestly think this should be the default behavior. As you can safely cast all scalars to strings.