Change all references to pending to unpublished