fix isEmpty
unmask earlier commit if id is not present
Merge pull request #119 from dimagi/fix-isempty

Fix isEmpty