Fix display condition consisting of spaces only

http://manage.dimagi.com/default.asp?98184
Merge pull request #168 from dimagi/fix-display-condition-spaces

Fix display condition consisting of spaces only