Fixed a bug that caused a fatal error in `UserModel.JoinUsers()` whenever any search was performed