Return correct context after dictionary DOM parsing.