Fix overzealous command line argument checking