Fix fetching limited number of joined rows.