Change or to ||

because of assignment precedence