Replaces NATURAL JOIN with the JOIN ON condition.