404 instead of 500 for bad module index

http://manage.dimagi.com/default.asp?97125