fix getModelValue(<non-preregistered term>)

Morgan, this should fix the crash you were seeing. --Kshitij