Case 3479 - Fixed issues for entities without data and ting_get_objects().
Merge remote-tracking branch 'origin/case-3479' into new-search