Made a logic error
Merge branch 'master' of github.com:LitusProject/Litus
Small fixes