Fixes a problem with some diary-sexps not occuring correct or not showing up at all in agenda view. (More description in the attached patch.) I hope it will be useful! Org-mode is a great mode.