Reversion to INNER JOIN type SQL - no change in functionality