Fix bug in PulsarExec constructor.