use boolean string and remove redundant else
Merge pull request #26 from dimagi/cz

use boolean string and remove redundant else