commads: fixed uid/gid validation.
Merge pull request #358 from andrewsmedina/uid_validation

Fixed uid/gid validation