Fixes type keywords boost in search not working with subclasses.