I don't think custom games support hcl at all
Just checked, you can input basic modes (AP, AR, SD, etc.), but adding anything else to the string would replicate the already mentioned issue.
As Aleksandar already said, just type the mode manually in game and you'll be fine, since HCL isn't mandatory in custom games.