Corrected logic check for isUnpublishable