Fix ability to delete posts

Fix for #159