Fix Oracle subquery ordering lost bug

See http://www.doctrine-project.org/jira/browse/DDC-1800 for a full description.