QueryBuilder - replace deprecated getAlias() by getAliases()[0]