Bound get-entries to what we have.

Fixes #138.