Changed the pipe operator (bitwise OR) in favor of the double pipe operator (Conditional Assignment)

The pipe operator '|' is a bitwise OR, and in the code it was used as the Conditional Assignment operator, which really is the double pipe operator '||'.

- Changed pipe '|' for double pipe '||' in conditional assignment.