Fixed rubocop's AndOr warnings.