MDL-52397 editpdf: Fix draft vs nondraft comparison