Small fix to avoid null data if it's object was expired in db.

Fix for  "Cannot set property '.(ørigindex)' of null" error. when performing a `find` query. Refer to issue #26