fix link to show up for invalid records

Change-Id: I075b8456092301f5b1fac011319f6286a321de73