fixes #836
Merge pull request #930 from ractivejs/gh-836

fixes #836