Adds Reduce function for KeywordSearch to create a new search tree as if certain keys did not exist.
Adds test for the KeywordSearch Reduce function.