Correctly encode instance_guid.