[FIX] concatOrReplace regression bugfix