Revert "Do no use logical operators"

This reverts commit b43c4c1b46fd257b9f586b3cc269b974d515a790.

see
https://github.com/sensiolabs/insight/commit/b43c4c1b46fd257b9f586b3cc269b974d515a790#commitcomment-5210922