Fixed a small bug in the trust engine. I was misunderstanding part of the xml toolin...