Prevent binding to missing nodes in case of malformed template (#814)
Reverts change from 8bb9b39626f that worked around a specific instance of this problem.
Merge pull request #814 from SteveSanderson/814-prevent-invalid-binding

Prevent invalid binding in re-written templates