Try it this way
Code:
.$iif($group(#secure.query) == off,Secure Query):.enable #secure.query
.$iif($group(#secure.query) == on,$style(1) Secure Query)
..$iif(%secure.query.hop,$style(1)) Half Ops:secure.query.switch hop | echo -a 0,2 Secure Query - Half Ops 12,8  $iif(%secure.query.hop,Allowed,Blocked)  
..$iif(%secure.query.op,$style(1)) Ops:secure.query.switch op | echo -a 0,2 Secure Query - Ops 12,8  $iif(%secure.query.op,Allowed,Blocked)  
..$iif(%secure.query.voice,$style(1)) Voices:secure.query.switch voice | echo -a 0,2 Secure Query - Voice 12,8  $iif(%secure.query.voice,Allowed,Blocked)   
..-
..Switch off:.disable #secure.query