I assume these `||`'s are because of comment vs. post. I would suggest passing an explicit argument or at least having an if ... then because doing it this way seems dangerous.