Fixed empty arrays when ting_entity don't have relations