Use `&&` instead of `and` because in Ruby `and` has very strange precedence ordering.