fix nil object iterator

Fixes iterator for searches that do not return a result from Geonetwork.

closes #24