fix inverted boolean in command validation