Fix assert in insertEntry().
Fix assert in insertEntry().

The intent of the assert is to ensure that insertEntry() is not called
with an empty entries array because that would cause you to get into a
code path where the entry output parameter is not set. But the assert
didn't correctly check that.

Fix #635.

munificent/wren,munificent/wren,munificent/wren,munificent/wren,munificent/wren,munificent/wren