Fix for [#29513] select_all returning identical value for each row