fix for collectKeywords, refs #10440