simplified get_models.
Added filter when there are not enough common values in the prediction area (x values in the model)