fixes bug introduced with #1076
Merge pull request #1077 from ractivejs/gh-1074-b

fixes bug introduced with #1076