Fix stupid typo in search.include_types

--rebased-to #2767

This broke SPW searches on dev_5_0. /cc @pwalczysko