[#46040087] Fix bug on the params slicing