Removes buggy log that fail when pass queryset directly.
Uses customizable id_field to get django object.