Fix caselist filtering bug

Addresses this ticket: http://manage.dimagi.com/default.asp?133578

CloudCare case lists weren't filtering properly because of this bug. `CommCareSession.setDatum()` takes strings, but a boolean was being passed, thereby raising/throwing an exception.