fixing bug where an object (read alist/hash) whos value was a TERM, if sent to (wrap-in-term ...), would lose its TERM value and gain instead an empty datum. solved by explicitely checking for the object type in wrap-in-term as well as making sure term-assoc checks to see if the value its given is already a term before trying to convert it from datum->term. seems to work beautifully, as queries that were previously broken are now working great, and queries that always worked are still working.