fix unless to be while
Merge pull request #119 from cloudedge/pull-req-master-a5cef33661485f12205db574632537726a51de3b

Barclamp View fix (Trello 73) [2/2]