Fixed a bug where deleted posts would not be displayed properly