Added database range iterator