Fix crash when adding NULL-modelURI to completion. Reliable reproducable when opening a new tab.