Decreasing repeat count in a submission removes instances in Webforms

1. What is the issue? Please be detailed.
From the docs

When using repeat_count, no repeat instances are deleted if the count is set to a value and then later decreased. This avoids accidental data loss: a user who accidentally sets the count too low will not lose the repeat instances they had previously filled out.

In Webforms v1.0.0 (and Enketo), lowering the value that is used for repeat_count will remove repeat instances and any data within.

While this is consistent with Enketo, it is not consistent with Collect or documentation.

2. What steps can we take to reproduce this issue?
use this example form to see behaviour

repeat_count_decrement.xlsx (83.7 KB)

Thanks Andrew! In this one, it should align with Collect and the docs. I've opened a ticket, and it will be resolved in the next release.