Type completion would behave strangely when there were multiple aliases for a given type (currently only possible with type accelerators). The fix is to only select the accelerator that matches what the user typed. Closes #2295