Fixed a problem with returning null iterators for OOV terms.