Simplified and corrected the Iterator-implementation in SearchResult.

Previously would fail to correctly loop if any item was unset.
Fixed proper value handling of properties.