fix Issue 11596 - Internal error: backend/cgcs.c 351
Merge pull request #2898 from 9rnsr/fix11596

[REG2.065a] Issue 11596 - Internal error: backend/cgcs.c 351