Fixes #12423 - Additional select columns are removed when using includes

Fixes #12423 - Additional select columns are removed when using includes.