fixed representation of nullable foreign keys in list