Fix grouped expression warning -  `warning: (...) interpreted as grouped expression`
Merge pull request #17536 from vipulnsward/fix-group-expression-warning

Fixed grouped expression warning