Fixed bugs when finding deleted posts