Before deleting the posts