fixed autocomplete to give more subcommands when the previous word is a no-argument subcommand