Patch INNER JOIN.