Fix in compilation of spark nested procedure.