Fixed so that template execution is deffered if bound to a empty array