Bug in trie fixed (issue #220)

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>