Fix usage of ignorecodes in client