Validate Query formatter - handle undefined

I noticed when I chose the Filter agg in the agg builder that this would throw an unhandled error - apparently there was no text being passed in.

Now, if `toUser` gets undefined, it returns an empty string. Added test to confirm.