Fix logic error in GroupsDaoIntegrationTests.

Assertion was stricter then suggested by the method name.

Change-Id: I60061f813f3d59c4bf5c5bc2e1c7ad9a77ba4471
diff --git a/tests/src/com/android/contacts/GroupsDaoIntegrationTests.java b/tests/src/com/android/contacts/GroupsDaoIntegrationTests.java
index 9122dd5..d2e4283 100644
--- a/tests/src/com/android/contacts/GroupsDaoIntegrationTests.java
+++ b/tests/src/com/android/contacts/GroupsDaoIntegrationTests.java
@@ -237,11 +237,12 @@
 
     private void assertGroupWithTitleExists(String title) {
         final Cursor cursor = cr.query(ContactsContract.Groups.CONTENT_URI, null,
-                ContactsContract.Groups.TITLE + "=? AND " + ContactsContract.Groups.DELETED + "=?",
-                new String[] { title, "0" }, null, null);
-
+                ContactsContract.Groups.TITLE + "=? AND " +
+                        ContactsContract.Groups.DELETED + "=? AND " +
+                        ContactsContract.Groups.ACCOUNT_NAME + "=?",
+                new String[] { title, "0", mAccount.name }, null, null);
         try {
-            assertEquals(2, cursor.getCount());
+            assertTrue("No group exists with title \"" + title + "\"", cursor.getCount() > 0);
         } finally {
             cursor.close();
         }