lib: fixed iterator start bug in DeviceBuilder, which skipped first DB added