Correct logic error on failed tweets