Fix undefined variable bug in RDA relationship display