BUG: Fix NULL dereference in std::copy argument

Revealed by failed otherEmptyCell test on Debug Visual Studio build

Change-Id: I815eac0bdddd6f9cf1cd4a4bfaca8ecbbc61bc5f
Merge topic 'fix-otherEmptyCell-test-timeout' into master

a847fb8a BUG: Fix NULL dereference in std::copy argument