Correct a bug in shell completion which lead to conflicting completions.