fixed merge-contexts when context-stack does not contain maps
version