Close PR# 2645: add curly braces where my fevered brain in collusion with my frantic fingers forgot to put them.
Close PR# 2645: add curly braces where my fevered brain in collusion
with my frantic fingers forgot to put them.

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase