Bugfix in keywordgrammarslot