There's nothing different about the syntax for using dependencies in query templates, but self-evidently if the log proves the query text is resolved into the expected string it's not the problem. -- Scott