Fix case when no associations exist