Fixed minor bug in argparser check