Dimagi contact filter

fixes http://manage.dimagi.com/default.asp?138026#791510

@biyeun