Strengthen a few things in LogLookup<>.

See also: https://codereview.appspot.com/154320043/