Fix bug for empty interactions