fixes #669 - bug with each...else
Merge pull request #686 from ractivejs/gh-669

gh-669