make subcase reference correct parent

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