Automatically handle null strings