Fixed case where a bad readline would kill the program