net/mlx5: fix assert in modify converting