Fix bug in find packed object.

Fixes #2650 
@ussuri 
As discussed, a comment explaining what's happening here would be nice. And/or a named constant for the `8` here.