Add missing column in test search query.
Add valid flag to buckets in idxlib.c hashtable implementation to allow IDs of 0.
Add protection against full hashtable in idxlib.c.
Add optimization for iterating through hashtable in idxlib.c.