fix to be able to use options in find like limit, skip, ...

I was unable to use limit, skip, sort as options in a find() query, because obj was null sometimes. This simple null check fixed it for me and hopefully also for the rest of the world.