Changed the value of a boolean variable.

Needed to adapt the use of the logical operator, || into the code.