Fix indexing exceptions (ex[0]) by using args (ex.args[0]), refs #38