Fixed Windows asserts on array ranges.

Change-Id: Ibb7dcbf6dcee6e367b3fc1b9a934db56d9f7c0a8
Merge topic 'cleaner_multislice_view' into next

8ff32d16 Fixed Windows asserts on array ranges.