Fix the bug where mustache each would fail if called with the empty list

Fix for the issue #432