Maintenance: Simplifying the SQL query in case there is a configured search but there isnt any sword. Bugfixing: There was a bug in case of using relation.mm and LEFT JOIN and more than two related tables. There was a bug with handleAs[document]