Fix bug to remove pins from deleted users