Fixing issues with post not deleting