Fix command validation
Merge pull request #114 from telerik/fatme/fix-command-validation

Fix command validation