fixed iov caching for edge conditions on non-ordered queries

This fix is introducing a new query when the target iov is the edge of the cache, since in this case the till cannot be defined properly.
involved packages:
CondCore/CondDB