filter plan by engine_id