DNN-5733 - Get properly the UserId when versions are tracked