Account for null foreign key entities.