[qtcontacts-sqlite] Workaround invalid comparison of details

Detail values of type QList<int> are not comparing correctly when compared in QVariant form.