Consider key and term in concert when deciding if an item is in range

A bug found by @EngelSanchez, where `start_incl` being false
(when using a continuation, for example) led to in range values
being excluded as the key was checked in isolation.