Realised that the initial data modelling for importing contacts was incomplete. The contacts of different users could get mixed up and an invite could be sent to the wrong recipient. Remodelled the application and the backend (database) to distinguish between the same person imported by multiple people (common friend).