Thank you all very much, especially David for the explanation how the contexts work. Indeed I didn't know what I was doing. Forcing a particular context with \context for the first \applyContext call then solved my issue.
Jakub
Thank you all very much, especially David for the explanation how the contexts work. Indeed I didn't know what I was doing. Forcing a particular context with \context for the first \applyContext call then solved my issue.
Jakub