fixed some inconsistencies while fetching contacts from DB and presented them in UI