fixed #95 NPE, if a non existing object is referenced in the search index
Merge branch 'bug/95_npe_if_wrong_reference_in_search_index' into dev