[qtcontacts-sqlite] Fix aggregation query where subject contains multiple details

The old version did not expand correctly where the subject contained
more than one email address, or phone number, or online account.
Remove unused timestamp parameter