NXBT-726: fix end of 'if' statement