Check out the "possible issues" section of the documentation for NotebookEvaluate[]. It looks like you might have to set the context.