DEV: force curly in conditionals (PR #10702)

GitHub