Fix bug with decoded nil string