#29209 introduced a bug where columns to the directory added via add_directory_column are not being translated properly. This fixes the issue and adds an integration test.