Revert "fix updates to length binding on insert and remove"

This reverts commit dbdad053bc8a6a2c4f26cf03304d4bb4ba3a2624.