Problems with context definition in nested templates

The workaround is to define the child grids using string template similar to this thread: