Improve check for already existing posts and replies.