Avoid suggesting two identical commands in autocomplete