fixes bug introduced in #1110
Merge pull request #1112 from ractivejs/gh-1106-b

fixes bug introduced in #1110