fix bug in load_related when foreign key is not required and it gets deleted