Added paranoia check for tries