fix reminder url 500

http://manage.dimagi.com/default.asp?99173
Merge pull request #2593 from dimagi/cz

fix reminder url 500