Wrong error code sent by PLY filter (export)