(Maint) Change usages of and to &&, and or to ||
The operators and, or have a lower precedence than &&,
||. This can lead to unexpected results in certain cases. While this
commit is not subject to one of those cases, the change is still made
for consistency sake.