Fix setIppErrorStatus placement