fix stupid bug with bulk delete max items

Change-Id: I52160b5e7480112d536c45dd4b0b10a808adcdcd
Merge "fix stupid bug with bulk delete max items"