Fixing org mode agenda hook.