Fix contextual keywords parsting. Fixes part of #10314