Fix small bugs in NatlabParser error handling.