failing test for #17481
fix to #17481