fix Issue 12593 - AA cannot have struct as key
Merge pull request #3476 from 9rnsr/fix12593

[REG2.065] Issue 12593 - AA cannot have struct as key