Fix beginResetModel/endResetModel warnings in UserIDProxyModel
When the source model is set, Qt runs QAbstractItemModel::beginResetModel and ::endResetModel.
In between those, we're also calling these functions. Since recently, this causes warnings to be shown.