Changed the queries to use a subselect as otherwise the language order is unpredictable.
Merge branch 'dev' into contao3