fixed the relationships component to not choke on empty value