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

Like this? (Updated)