Fixed bug in getContacts(int... ids)