Fixed some issues with boundaries in range queries for the iterators