Get the correct key if a list view field has a foreign key relation