Fix gobject_ref assertion
Merge pull request #43 from Lithopsian/search

Fix gobject_ref assertion