Replaced convertResult to use SF.Sanitize.

Fixes #233