fixes #858
Merge pull request #861 from ractivejs/gh-858

fixes #858