Fixed pending-post remove bug