My initial implementation didn't consider this case. We should skip imported users if the "imported_id" field is present, even if there're other custom fields.
DB.after_commit