Fix handling of gs and ls when no n is provided.

Also stop accepting 0 as the run size since it's not supported by the backends anyway.