title: Can't fetch phone numbers for linked contacts when one of the groups is invisible
body: <p>I faced with problem while fetching phone numbers for linked contacts on HTC phone.</p>
  
  <p>The problem only with contacts that have phone numbers in invisible group.</p>
  
  <p>E.g. I have contact in addressbook that linked from Google and Facebook accounts.</p>
  
  <pre><code>    Contact1 - Google account (contact name, email)
      Contact1 - Facebook account (contact name, phone number)
  </code></pre>
  
  <p>In the Contacts settings Google group is <strong>active</strong> and Facebook group is <strong>hidden</strong>.</p>
  
  <p>Here what I am doing in the code.</p>
  
  <p>Preparing cursor for ListView that shows only contacts with phone numbers and in visible group.</p>
  
  <pre><code>    Uri uri = ContactsContract.Contacts.CONTENT_URI;
      String[] projection = new String[] {
              ContactsContract.Contacts._ID,
              ContactsContract.Contacts.DISPLAY_NAME,
              ContactsContract.Contacts.LOOKUP_KEY
      };
      String[] selectionArgs = null;
      String sortOrder = ContactsContract.Contacts.DISPLAY_NAME + " COLLATE LOCALIZED ASC";
  
      CursorLoader cursorLoader = new CursorLoader(AllContactsNewActivity.this,
              uri, projection, ContactsContract.Contacts.HAS_PHONE_NUMBER +" = 1 " + 
                      " AND " + ContactsContract.Contacts.IN_VISIBLE_GROUP + " = '1'",
                      selectionArgs, sortOrder);
  </code></pre>
  
  <p><strong>The Contact1 is presented in the list.</strong></p>
  
  <p>When user click on this contact I am fetching phone numbers from selected contact, but get empty list.</p>
  
  <pre><code>CursorLoader cursorLoader = new CursorLoader(
      AllContactsNewActivity.this,
      ContactsContract.CommonDataKinds.Phone.CONTENT_URI,
      projection,
      ContactsContract.CommonDataKinds.Phone.CONTACT_ID + "=?",
  new String[] { String.valueOf(contactId) }, null);
  </code></pre>
  
  <p>I have already tried to use RAW_CONTACT_ID, _ID, LOOKUP_KEY for fetching numbers but w/o luck.</p>
  
  <p>Could some one give me piece of advice how I can fetch phone numbers for these contacts or just not show such contacts in the ListView.</p>