Fix #1406: duplicate left joins with multiple orderby-fields.