associations: fixed empty results handling