Added model_type to query