Plugged check_dangling in the template engine

Required TF version bumped to next one, because the required method is
new and not released yet.