Fix Mustache binding lists in helpers

Test and implementation of the fix originally suggested by @azazel75 should fix #438 and #463.