Hack to fix knockout <2.3 js bug

Fixes http://manage.dimagi.com/default.asp?88344#506441 directly and http://manage.dimagi.com/default.asp?88345#506510 indirectly.