GEOT-4553: Joining query orderby PK from nested table that is not
selected