Considering this is only used if the optional argument is not passed to the command, I'd move it to the `else` case below (and the `bl` null-check.