Fixed a silly error within PrefixTrie, where whitespace characters were not removed.