Fix various online issues
If generating ID, ignore what model ID currently is. This caused issues after setting the model ID when a new model was assigned to a classifier.
Also fix an issue with filtering by segments in datasets, which was a no-op. This should fix issues in the reports, filtering by the right segments as well as trimming large datasets in the training jobs.