Better fix for valid il code for conditional expression of two casted interfaces