Fixed crashing on red links.

Bug: 64423
Change-Id: I88be44efc3e588f55899ad74d6b8f39be2bab49e