Fix :g command.  I use a null range to be a special case, I don't want
it to be silently ignored.  Handle a null range in operations that had
been expecting range to not be null.