Changed || to | and added parens around equality expression. Fixes #2