fixed bug causing a command's parameter to be autocompleted over and over if it was the only matching parameter