PROJ-151: Fixed a couple of registration bugs and autocomplete bugs